﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Microsoft.BizTalk.ExplorerOM;
using DBLOG.BizTalk.BizTalkExplorerServices.Core;

namespace DBLOG.BizTalk.BizTalkExplorerServices.Explorers
{
    public class HostExplorer : BizTalkExplorerBase
    {
        public List<Host> GetHosts()
        {
            var hosts = from h in this._explorer.Hosts.Cast<Host>().ToList<Host>()
                        select h;

            return hosts.ToList<Host>();
        }
    }
}